package com.hszsd.member.service.impl;

import com.hszsd.member.feign.WeixinAppServiceFeign;
import com.hszsd.member.service.MemberAppService;
import com.hszsd.weixin.entity.AppEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hejr
 * @version V1.0
 * @Description 会员接口实现层
 * @Date 2019/8/21 11:59
 */
@RestController
public class MemberAppServiceImpl implements MemberAppService {

    @Autowired
    private WeixinAppServiceFeign weixinAppServiceFeign;

    @Override
    public AppEntity memberInvokeWeixin() {
        return weixinAppServiceFeign.getApp();
    }
}
